import ollama


def send_question_to_api(question):
    zsession={'messages':[{"role": "system", "content": "您现在正在与用户聊天，为他们提供全面、简短和简洁的答案."},]}
    zsession['messages'].append({"role": "user", "content": question})
    res = ollama.chat(
        model="deepseek-r1:1.5b",
        messages=zsession['messages'],
        stream=False
    )
    return res.message.content
